﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace ESTAR.Infrastructure
{
    public class BaseModel
    {
     
        [MaxLength(255)]
        public string Id { get; set; }


        public DateTime CreatedOn { get; set; }

        public DateTime UpdatedOn { get; set; }

        public long Version { get; set; }



        [Key]
        public long Sequence { get; set; }
    }
}
